$(function(){

	DWZ.init(_PUBLIC_+"/DWZ/dwz.frag.xml", {
		loginUrl:"login_dialog.html", loginTitle:"登录",	// 弹出登录对话框
//		loginUrl:"login.html",	// 跳到登录页面
		statusCode:{ok:200, error:300, timeout:301}, //【可选】
		pageInfo:{pageNum:"pageNum", numPerPage:"numPerPage", orderField:"orderField", orderDirection:"orderDirection"}, //【可选】
		keys: {statusCode:"statusCode", message:"message"}, //【可选】
		ui:{hideMode:'display'}, //【可选】hideMode:navTab组件切换的隐藏方式，支持的值有’display’，’offsets’负数偏移位置的值，默认值为’display’
		debug:false,	// 调试模式 【true|false】
		callback:function(){
			initEnv();
			
		}
	});
	
	 $('#nav-accordion').dcAccordion({
	        eventType: 'click',
	        autoClose: true,
	        saveState: true,
	        disableLink: true,
	        speed: 'fast',
	        showCount: false,
	        autoExpand: true,
//	        cookie: 'dcjq-accordion-1',
	        classExpand: 'dcjq-current-parent'
	    });
	 
	 
});